import request from '@/utils/request'

export function getUserList(params) {
  return request({
    url: 'api/user/list',
    method: 'get',
    params
  })
}


export  function  createUser(params) {

  return request({
    url:'api/user/save',
    method:'post',
    data:params
  })
}

export  function updateUser(params) {

  return request({
    url:'api/user/update',
    method:'post',
    data:params
  })
}
